package com.vitech.javacertification.strings;

public class StringBundle {

	
	public static void main(String ...strings){
		
		stringBuilder();
		
	}
	
	
	static void stringBuilder(){
		
		StringBuilder sb = new StringBuilder();

		sb.append("01234567890");
		sb.insert(4, "XxxX");		
		sb.insert(6, "yyyy");		
		sb.append("zzzz");
		
		System.out.println(sb.toString());
		
		sb.setLength(0);
		System.out.println(sb.capacity());
		
	}
	
}
